<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<sj:head locale="es" jqueryui="true" jquerytheme="cupertino" />
<link rel="stylesheet" type="text/css" href="estilo/style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Asignar clientes...</title>
<script language="JavaScript" type="text/javascript">	
   function maximizar() { 
		self.moveTo(0,0); 
		self.resizeTo(screen.availWidth,screen.availHeight); 
	} 
   function recargar_iframe() {
		var id;
		id = setInterval("rec_iframe()",30000);
	}
   function rec_iframe(){
	   var iframe = parent.frames['fm_grafica'];
	   iframe.window.location.reload();
   }
  
</script>
</head>
<body onload="maximizar();" >
  <div class='logo_sia'><img src="images/logo.png" /></div>
  <div class="barra_tit_corp" align='center'>Asignar clientes</div>
    <s:url id="car_1" value="lst_clientes.action"  > </s:url>
	<s:url id="car_2" value="lst_clientes.action"  > 
	      <s:param name="opc" value="10" />
	</s:url>
    <s:url id="car_vend1" action="cargar_grupo_vendedores_corp.action"  > 
        <s:param name="nombre" >vendedor</s:param>
    </s:url>  
    <s:form id="form"  theme="simple" >
         <table border='0'>
             <tr><td>Tipo</td><td>Cliente</td><td>Vendedor</td><td>Status</td><td>Grupo</td><td></td></tr>
             <tr>
                 <td><s:select name="tipo" id="tipo" headerKey="CORPORATIVO" headerValue="CORPORATIVO" list="#{'PYME':'PYME'}" theme="simple" /></td><td><s:textfield size='20' id="cliente" name="nombres" value="" /></td><td><sj:div id='reporte2' href="%{car_vend1}" indicator="carg_1"  > <img id="carg_1" src="images/ajax-loader3.gif" alt="Cargando..." style="display: none" /> </sj:div> </td><td><s:select label="Status:" name="status" id="status" headerKey="POR ASIGNAR" headerValue="POR ASIGNAR" list="#{'EN PROCESO':'EN PROCESO','EN PAUSA':'EN PAUSA','RECHAZADO':'RECHAZADO'}" theme="simple" /> </td><td> <s:select name="opc" id="opc" headerKey="10" headerValue="10" list="#{'20':'20','30':'30','40':'40','50':'50','60':'60','70':'70','80':'80','90':'90','100':'100','0':'TODOS'}" theme="simple" /></td><td><sj:a id="filtrar"  href="%{car_1}"  formIds="form" targets="reporte"  indicator="indicatorc" button="true"  buttonIcon="ui-icon-refresh" >Filtrar</sj:a><img id="indicatorc" src="images/ajax-loader3.gif" alt="Cargando..." style="display: none" /></td>
             </tr>
         </table>      
    </s:form>
	 <table width="100%">
       <tr VALIGN=TOP  class='fondo_asignacion'>
	        <td width="100%"  >
			      <sj:div id='reporte' href="%{car_2}" indicator="indicatorc"  >
			      </sj:div>
		    </td>
	   </tr> 
    </table>
</body>
</html>